number of non negative integer solutions for the equation